<?php

namespace Drupal\s_announcement\ViewsController\handler\filter;

use Drupal\s_announcement\ViewsController\Traits\SAnnouncementStatusTrait;
use views_handler_filter_in_operator;

class SAnnouncementStatusViewsFilter extends views_handler_filter_in_operator {

  use SAnnouncementStatusTrait;

  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = "状态 0 关闭 1 开启";
      $this->value_options = $this->getStatusOptions();
    }
  }
}
